import { DefaultFooter } from '@ant-design/pro-layout';
import React from "react";
import {MailOutlined, PhoneOutlined} from "@ant-design/icons";

const Footer: React.FC = () => {

  return <DefaultFooter
    copyright={`${new Date().getFullYear()}  南京即刻刷题数字科技有限公司. ALL RIGHTS RESERVED. `}
    links={[
      {
        key: 'blog',
        title: '官网',
        href: 'https://www.baidu.com',
        blankTarget: true,
      },{
        key: 'email',
        title: <><MailOutlined />&nbsp;&nbsp;邮箱</>,
        href: 'mailto:1906423583@qq.com',
        blankTarget: true,
      },{
        key: 'phone',
        title: <><PhoneOutlined />&nbsp;&nbsp;电话</>,
        href: 'tel:18751890827',
        blankTarget: true,
      },{
        key: 'icp',
        title: '苏ICP备2022007556号-1',
        href: 'https://www.miit.gov.cn/',
        blankTarget: true,
      }
    ]}
  />;
};

export default Footer;
